<?php defined('LFNC_PACKAGE') or die('forbidden');


/**
* MLT Web Engine
* http://www.molotsoft.ru
*
* @package MLT_WE
* @subpackage Lucky_Funcs
* @author Ivan Chistyakov <ivan@molotsoft.ru>
* @version $Id: is_intbool.lfnc.php 286 2009-07-25 08:17:46Z molotsoft@gmail.com $
* @link $HeadURL: http://lucky-funcs.googlecode.com/svn/trunk/funcs/variable/is_intbool.lfnc.php $
*/


function is_intbool($var) {
	return is_int($var) && ($var >= 0) && ($var <= 1);
}


?>